package com.jfs.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Description 通道所属目录中间表
 * @E-mail cwm3412638@163.com
 * @Author cwm
 * @Date 2022/8/10
 */
@Data
@TableName("t_middle_channel_directory")
@KeySequence(value = "customIdGenerator")
@ApiModel(description = "设备所属目录中间表")
public class MiddleChannelDirectory {
    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;
    @ApiModelProperty(value = "设备id")
    private String channelId;
    @ApiModelProperty(value = "目录id")
    private String channelDirectoryId;
}
